package com.uzai.console.dto.wechatprivate.wxcontacts;

import com.uzai.console.dto.QueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("个人微信/微信通信录参数")
public class WxContactsQuery extends QueryParam {
    @ApiModelProperty("微信昵称")
    private String nick;
    @ApiModelProperty("微信id")
    private String wxid;
    @ApiModelProperty("微信号")
    private String wxno;
    @ApiModelProperty("机器人唯一ID")
    private Long deviceUniqueId;
    @ApiModelProperty("机器人唯一ID列表")
    private List<Long> deviceUniqueIdList;
    @ApiModelProperty("好友类型（0-个人微信；1-微信群")
    private Integer userType;
    @ApiModelProperty("最后群发开始时间")
    private Integer lastGroupSendTimeStart;
    @ApiModelProperty("最后群发结束时间")
    private Integer lastGroupSendTimeEnd;
    @ApiModelProperty(value = "免骚扰时间(针对群发消息用户过滤，这个时间发以后已经群发消息的用户不查询出来)", hidden = true)
    private Integer busyGroupSendMsgTime;
    @ApiModelProperty("备注关键词列表")
    private List<String> remarkList;
    @ApiModelProperty("备注")
    private String remark;

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public Long getDeviceUniqueId() {
        return deviceUniqueId;
    }

    public void setDeviceUniqueId(Long deviceUniqueId) {
        this.deviceUniqueId = deviceUniqueId;
    }

    public String getWxid() {
        return wxid;
    }

    public void setWxid(String wxid) {
        this.wxid = wxid;
    }

    public String getWxno() {
        return wxno;
    }

    public void setWxno(String wxno) {
        this.wxno = wxno;
    }

    public Integer getUserType() {
        if(userType == null){
            userType = 0;
        }
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getBusyGroupSendMsgTime() {
        return busyGroupSendMsgTime;
    }

    public void setBusyGroupSendMsgTime(Integer busyGroupSendMsgTime) {
        this.busyGroupSendMsgTime = busyGroupSendMsgTime;
    }

    public Integer getLastGroupSendTimeStart() {
        return lastGroupSendTimeStart;
    }

    public void setLastGroupSendTimeStart(Integer lastGroupSendTimeStart) {
        this.lastGroupSendTimeStart = lastGroupSendTimeStart;
    }

    public Integer getLastGroupSendTimeEnd() {
        return lastGroupSendTimeEnd;
    }

    public void setLastGroupSendTimeEnd(Integer lastGroupSendTimeEnd) {
        this.lastGroupSendTimeEnd = lastGroupSendTimeEnd;
    }

    public List<Long> getDeviceUniqueIdList() {
        return deviceUniqueIdList;
    }

    public void setDeviceUniqueIdList(List<Long> deviceUniqueIdList) {
        this.deviceUniqueIdList = deviceUniqueIdList;
    }

    public List<String> getRemarkList() {
        return remarkList;
    }

    public void setRemarkList(List<String> remarkList) {
        this.remarkList = remarkList;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
